package main

import "github.com/gin-gonic/gin"

func main() {
	//ginPanic()
}

func ginPanic() {
	r := gin.Default()
	
	// 在子协程中引起panic，主协程也会退出
	go func() {
		panic("hello world")
	}()
	
	// Listen and Server in 0.0.0.0:8080
	r.Run(":8080")
}
